package com.dao;

import java.util.List;

import com.entity.CakeAdmin;

public interface CakeAdminDao {
	/**
	 * 查询所有的蛋糕
	 * @return
	 */
	List<CakeAdmin> findAllCakeAdmins();
	List<CakeAdmin> findCakeAdminLimit(int a,int b);
	
	List<CakeAdmin> findLikeCake(String cakename);
	List<CakeAdmin> findUpOrDownCake(String cakestatus);
	int updateCakeStausById(int cakeid,String cakestatus);
	int updateCakePeiceById(int cakeid,double cakeprice);
	int updateCakeUpPeiceById(int cakeid,double cakeupprice);
	int updateCakeAdminByid(CakeAdmin cakeAdmin);
	int addCakeAdmin(CakeAdmin cakeAdmin);
}
